package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import cc.comac.mom.bean.QualityTestContent;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-qar-srv")
public interface QualityTestContentService {

	
	@RequestMapping(value = "/p/cs/QualityTestContentService/insert",method = RequestMethod.POST)
	public ResultBean insert(@RequestBody QualityTestContent obj);

	
	@RequestMapping(value = "/p/cs/QualityTestContentService/selectByCondition",method = RequestMethod.POST)
	public ResultBean selectByCondition(@RequestBody QualityTestContent obj);
	
	@RequestMapping(value="/p/cs/QualityTestContentService/getByTestNo",method = RequestMethod.POST)
	public ResultBean getByTestNo(@RequestParam(value = "testNo") String testNo);
}
